Skip to content

Comments

Add custom FSA multiclass implementation with enhanced features#19

Open
hincaltopcuoglu wants to merge 1 commit intobarbua:masterfrom
hincaltopcuoglu:custom-fsa-implementation
Open

Add custom FSA multiclass implementation with enhanced features#19
hincaltopcuoglu wants to merge 1 commit intobarbua:masterfrom
hincaltopcuoglu:custom-fsa-implementation

Conversation

@hincaltopcuoglu
Copy link

This PR adds a custom FSA (Feature Selection with Annealing) implementation with enhanced multiclass support.

Changes

  • fsa_custom.py: Enhanced FSA implementation with full multiclass support
    • demo_custom.py: Demo script for binary and multiclass classification
    • README_CUSTOM.md: Complete documentation with usage examples

Features

  • Full multiclass classification support using cross-entropy loss
    • GPU acceleration with CUDA when available
    • Gradient clipping for training stability
    • Improved annealing schedule for feature reduction
    • Flexible interface supporting NumPy arrays, PyTorch tensors, and Pandas DataFrames

Testing

Includes demo script with synthetic datasets demonstrating both binary and multiclass classification scenarios.

- Add fsa_custom.py: Enhanced FSA implementation with full multiclass support
- Add demo_custom.py: Demo script for binary and multiclass classification
- Add README_CUSTOM.md: Documentation for custom implementation

Features:
- Full multiclass classification support using cross-entropy loss
- GPU acceleration with CUDA
- Gradient clipping for stability
- Improved annealing schedule
- Flexible interface for NumPy/PyTorch/Pandas inputs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant